package com.chen.controller.admin.post.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "岗位的简单返回数据")

public class PostSimpleRespVO {

    @Schema(name = "id",description = "岗位的id",requiredMode = Schema.RequiredMode.REQUIRED,example = "1")
    private Long id;

    @Schema(name = "name",description = "岗位名称",requiredMode = Schema.RequiredMode.REQUIRED,example = "窄门")
    private String name;

}
